﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace Client
{
    public partial class ServerItem : UserControl
    {
        public ServerInformation Content { set; get; }
        public ServerItem()
        {
            InitializeComponent();
        }

        public void SetContent(ServerInformation info)
        {
            this.Content = info;
            accessCode.Text = info.AccessCode;
        }
    }
}
